package com.haoze.nurseapp.model;


import com.haoze.common.model.BaseEntity;
import org.springframework.data.annotation.Transient;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zk
 * @since 2020-07-24
 */
@Table(name = "IDR.CIRCULATION_LOG")
public class CirculationLogEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    public CirculationLogEntity() {
    }

    public CirculationLogEntity(String circulationLogId, String circulationOperateType, String inpatorderdataId, String inpatNum, Integer serialNo, Integer status, String healthNum, String outpatNum, String patTypeId, Timestamp outDatetime, String outWardDeptId, String outDeptId, String outBedNo, String outDoctorPersonId, String outNurseId, Date inDatetime, String inWardDeptId, String inDeptId, String inBedNo, String inDoctorPersonId, String inNurseId, String sourceType, String circulationModelType) {
        this.circulationLogId = circulationLogId;
        this.circulationOperateType = circulationOperateType;
        this.inpatorderdataId = inpatorderdataId;
        this.inpatNum = inpatNum;
        this.serialNo = serialNo;
        this.status = status;
        this.healthNum = healthNum;
        this.outpatNum = outpatNum;
        this.patTypeId = patTypeId;
        this.outDatetime = outDatetime;
        this.outWardDeptId = outWardDeptId;
        this.outDeptId = outDeptId;
        this.outBedNo = outBedNo;
        this.outDoctorPersonId = outDoctorPersonId;
        this.outNurseId = outNurseId;
        this.inDatetime = inDatetime;
        this.inWardDeptId = inWardDeptId;
        this.inDeptId = inDeptId;
        this.inBedNo = inBedNo;
        this.inDoctorPersonId = inDoctorPersonId;
        this.inNurseId = inNurseId;
        this.sourceType = sourceType;
        this.circulationModelType = circulationModelType;
    }

    /**
     *
     */
    @Id
    @Column(name = "CIRCULATION_LOG_ID")
    private String circulationLogId;

    /**
     * '类型（入院、转科）等';
     */
    @Column(name = "CIRCULATION_OPERATE_TYPE")
    private String circulationOperateType;

    /**
     * 备注.外出原因等
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * '医嘱编号';
     */
    @Column(name = "INPATORDERDATA_ID")
    private String inpatorderdataId;

    /**
     * '住院号';
     */
    @Column(name = "INPAT_NUM")
    private String inpatNum;

    /**
     * '流程顺序号';
     */
    @Column(name = "SERIAL_NO")
    private Integer serialNo;

    /**
     * '状态，是否完成';
     */
    @Column(name = "STATUS")
    private Integer status;

    /**
     * '城乡居民健康档案编号';
     */
    @Column(name = "HEALTH_NUM")
    private String healthNum;

    /**
     * '门（急）诊号';
     */
    @Column(name = "OUTPAT_NUM")
    private String outpatNum;

    /**
     * '患者类型代码';
     */
    @Column(name = "PAT_TYPE_ID")
    private String patTypeId;

    /**
     * '转出日期时间';
     */
    @Column(name = "OUT_DATETIME")
    private Timestamp outDatetime;

    /**
     * '转出病区代码';
     */
    @Column(name = "OUT_WARD_DEPT_ID")
    private String outWardDeptId;

    /**
     * '转出科室';
     */
    @Column(name = "OUT_DEPT_ID")
    private String outDeptId;

    /**
     * '转出病床号';
     */
    @Column(name = "OUT_BED_NO")
    private String outBedNo;

    /**
     * '转出医师签名';
     */
    @Column(name = "OUT_DOCTOR_PERSON_ID")
    private String outDoctorPersonId;

    @Column(name = "OUT_NURSE_ID")
    private String outNurseId;

    /**
     * '转入日期时间';
     */
    @Column(name = "IN_DATETIME")
    private Date inDatetime;

    /**
     * '转入病区代码';
     */
    @Column(name = "IN_WARD_DEPT_ID")
    private String inWardDeptId;

    /**
     * '转入科室';
     */
    @Column(name = "IN_DEPT_ID")
    private String inDeptId;
    /**
     * '转入病床号';
     */
    @Column(name = "IN_BED_NO")
    private String inBedNo;

    /**
     * '转入医师签名';
     */
    @Column(name = "IN_DOCTOR_PERSON_ID")
    private String inDoctorPersonId;

    @Column(name = "IN_NURSE_ID")
    private String inNurseId;

    /**
     * '系统来源';
     */
    @Column(name = "SOURCE_TYPE")
    private String sourceType;

    /**
     * '区分待入院，已入院,、待转出、待转入的类型';
     */
    @Column(name = "CIRCULATION_MODEL_TYPE")
    private String circulationModelType;

    @Column(name = "BATCH_NO")
    private Integer batchNo;

    @Column(name = "CANCEL_FLAG")
    private Integer cancelFlag = 0;

    @Column(name = "EDIT_FLAG")
    private String editFlag;

    @Column(name = "OPERATOR")
    private String operator;

    @Column(name="OUT_BED_LABEL")
    private String outBedLabel;

    @Column(name="IN_BED_LABEL")
    private String inBedLabel;

    public String getOutBedLabel() {
        return outBedLabel;
    }

    public void setOutBedLabel(String outBedLabel) {
        this.outBedLabel = outBedLabel;
    }

    public String getInBedLabel() {
        return inBedLabel;
    }

    public void setInBedLabel(String inBedLabel) {
        this.inBedLabel = inBedLabel;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }

    public Integer getCancelFlag() {
        return cancelFlag;
    }

    public void setCancelFlag(Integer cancelFlag) {
        this.cancelFlag = cancelFlag;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCirculationLogId() {
        return circulationLogId;
    }

    public void setCirculationLogId(String circulationLogId) {
        this.circulationLogId = circulationLogId;
    }

    public String getCirculationOperateType() {
        return circulationOperateType;
    }

    public void setCirculationOperateType(String circulationOperateType) {
        this.circulationOperateType = circulationOperateType;
    }

    public String getInpatorderdataId() {
        return inpatorderdataId;
    }

    public void setInpatorderdataId(String inpatorderdataId) {
        this.inpatorderdataId = inpatorderdataId;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public Integer getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(Integer serialNo) {
        this.serialNo = serialNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getHealthNum() {
        return healthNum;
    }

    public void setHealthNum(String healthNum) {
        this.healthNum = healthNum;
    }

    public String getOutpatNum() {
        return outpatNum;
    }

    public void setOutpatNum(String outpatNum) {
        this.outpatNum = outpatNum;
    }

    public String getPatTypeId() {
        return patTypeId;
    }

    public void setPatTypeId(String patTypeId) {
        this.patTypeId = patTypeId;
    }

    public Timestamp getOutDatetime() {
        return outDatetime;
    }

    public void setOutDatetime(Timestamp outDatetime) {
        this.outDatetime = outDatetime;
    }

    public String getOutWardDeptId() {
        return outWardDeptId;
    }

    public void setOutWardDeptId(String outWardDeptId) {
        this.outWardDeptId = outWardDeptId;
    }

    public String getOutDeptId() {
        return outDeptId;
    }

    public void setOutDeptId(String outDeptId) {
        this.outDeptId = outDeptId;
    }

    public String getOutBedNo() {
        return outBedNo;
    }

    public void setOutBedNo(String outBedNo) {
        this.outBedNo = outBedNo;
    }

    public String getOutDoctorPersonId() {
        return outDoctorPersonId;
    }

    public void setOutDoctorPersonId(String outDoctorPersonId) {
        this.outDoctorPersonId = outDoctorPersonId;
    }

    public String getOutNurseId() {
        return outNurseId;
    }

    public void setOutNurseId(String outNurseId) {
        this.outNurseId = outNurseId;
    }

    public Date getInDatetime() {
        return inDatetime;
    }

    public void setInDatetime(Date inDatetime) {
        this.inDatetime = inDatetime;
    }

    public String getInWardDeptId() {
        return inWardDeptId;
    }

    public void setInWardDeptId(String inWardDeptId) {
        this.inWardDeptId = inWardDeptId;
    }

    public String getInDeptId() {
        return inDeptId;
    }

    public void setInDeptId(String inDeptId) {
        this.inDeptId = inDeptId;
    }

    public String getInBedNo() {
        return inBedNo;
    }

    public void setInBedNo(String inBedNo) {
        this.inBedNo = inBedNo;
    }

    public String getInDoctorPersonId() {
        return inDoctorPersonId;
    }

    public void setInDoctorPersonId(String inDoctorPersonId) {
        this.inDoctorPersonId = inDoctorPersonId;
    }

    public String getInNurseId() {
        return inNurseId;
    }

    public void setInNurseId(String inNurseId) {
        this.inNurseId = inNurseId;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getCirculationModelType() {
        return circulationModelType;
    }

    public void setCirculationModelType(String circulationModelType) {
        this.circulationModelType = circulationModelType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getEditFlag() {
        return editFlag;
    }

    public void setEditFlag(String editFlag) {
        this.editFlag = editFlag;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
}
